{template 'header'}

<!--当前位置-->
<div class="location layout960">
    当前位置: <a href="{SITE_URL}">首页</a>&nbsp;»&nbsp; <a href="{url('traffic/index')}">交通</a>
</div>
<!--当前位置 end--><strong></strong>
<!--主体部分-->
<div class="layout960 mb10">
	<!--交通警示 start-->
	<!--main-head-2cols start-->
	<div class="main-head-2cols fn-clear">
		<h2 class="fn-left">交通警示</h2>
		<div class="main-nav fn-left">
			<ul>
				<li><a href="{url('traffic/list', 'catid=28')}">最新发布</a></li>
				<li class="nav-line"></li>
				<li><a href="{url('traffic/list', 'catid=5')}">另类警示</a></li>
				<li class="nav-line"></li>
				<li><a href="{url('traffic/list', 'catid=501')}">交通法律法规</a></li>
			</ul>
		</div>
	</div>
	<!--main-head-2cols end-->
	<!--main-body start-->
	<div class="fn-clear">
		<div class="layout-left390 fn-left">
			<div id="js-traff-img-ronate" class="img-scroll">
				<ul class="fn-clear">
					{php $tags = Template::tag("moduleid=$moduleid&condition=status=3 and level=2 and thumb!=''&pagesize=6&order=addtime desc&template=null");}
					{loop $tags $i $t}
					<li {if $i==0}class='magic-img-now'{/if}><a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank" title="{$t[title]}"><img src="{imgurl($t[thumb], 1)}" width="390" height="280" alt="{$t[title]}" /></a></li>
					{/loop}
				</ul>
				<h3 class="opacity">
					{php $tags = Template::tag("moduleid=$moduleid&condition=status=3 and level=2 and thumb!=''&pagesize=1&order=addtime desc&template=null");}
					{loop $tags $i $t}
					<a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank">{$t[title]}</a>
					{/loop}
					<ul class="img-scroll-num">
						<li class="active opacity">1</li>
						<li class="opacity">2</li>
						<li class="opacity">3</li>
						<li class="opacity">4</li>
						<li class="opacity">5</li>
						<li class="opacity">6</li>
					</ul>
				</h3>
			</div>
		</div>
		<div class="layout-left390-right fn-right">
			<ul class="news-list">
				{php $tags = Template::tag("moduleid=$moduleid&condition=status=3&pagesize=3&order=addtime desc&template=null");}
				{loop $tags $i $t}
				<li>
					<h3><a  href="{url('traffic/show', 'itemid='.$t['itemid'])}" title="{$t[title]}">{$t[title]}</a></h3>
					<p><a  href="{url('traffic/show', 'itemid='.$t['itemid'])}">{$t[introduce]}</a></p>
				</li>
				{/loop}
			</ul>
		</div>
		<!--news-list end-->
	</div>
	<!--main-body end-->
</div>
<div class="layout960 fn-clear">
	<div class="layout-3col fn-left">
		<div class="blue-border">
			<h2 class="heading-blue">本周排行</h2>
			<ul class="ul-gray num">
				{php $tags = Template::tag("moduleid=$moduleid&condition=status=3 and addtime>$today_endtime-7*86400&pagesize=8&order=hits desc&template=null");}
				{loop $tags $i $t}
				<li {if $i==7}class="last"{/if} ><a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank">{$t[title]}</a></li>
				{/loop}
			</ul>
		</div>
	</div>
	<!--推荐咨询 start-->
	<div class="layout-3col middle-margin fn-left">
		<h2 class="heading-blue grayborder">推荐资讯</h2>
		{php $tags = Template::tag("moduleid=$moduleid&catid=28&condition=status=3 and level IN (1,3)&pagesize=6&cols=2&order=addtime desc&template=null");}
		<ul class="ul-blue-midhr">
			{loop $tags $i $t}
			{if $i%2==0}
			<li>
				<a target="_blank" href="{url('traffic/show', 'itemid='.$t['itemid'])}" title="{$t[title]}">{$t[title]}</a>
				{else}
				<b>|</b>
				<a target="_blank" href="{url('traffic/show', 'itemid='.$t['itemid'])}" title="{$t[title]}">{$t[title]}</a>
			</li>
			{/if}
			{/loop}
		</ul>
		{php $tags = Template::tag("moduleid=$moduleid&catid=5&condition=status=3 and level IN (1,3)&pagesize=6&cols=2&order=addtime desc&template=null");}
		<ul class="ul-blue-midhr">
			{loop $tags $i $t}
			{if $i%2==0}
			<li>
				<a target="_blank" href="{url('traffic/show', 'itemid='.$t['itemid'])}" title="{$t[title]}">{$t[title]}</a>
				{else}
				<b>|</b>
				<a target="_blank" href="{url('traffic/show', 'itemid='.$t['itemid'])}" title="{$t[title]}">{$t[title]}</a>
			</li>
			{/if}
			{/loop}
		</ul>
		{php $tags = Template::tag("moduleid=$moduleid&catid=501&condition=status=3 and level IN (1,3)&pagesize=6&cols=2&order=addtime desc&template=null");}
		<ul class="ul-blue-midhr">
			{loop $tags $i $t}
			{if $i%2==0}
			<li>
				<a target="_blank" href="{url('traffic/show', 'itemid='.$t['itemid'])}" title="{$t[title]}">{$t[title]}</a>
				{else}
				<b>|</b>
				<a target="_blank" href="{url('traffic/show', 'itemid='.$t['itemid'])}" title="{$t[title]}">{$t[title]}</a>
			</li>
			{/if}
			{/loop}
		</ul>
	</div>
	<!--推荐资讯end-->
	<!--推荐图文 start-->
	<div class="layout-3col fn-right">
		<h2 class="heading-blue grayborder">推荐图文</h2>
		<ul class="ul-img-underline fn-clear">
			{php $tags = Template::tag("moduleid=$moduleid&length=20&condition=status=3 and level=3 and thumb!=''&pagesize=3&order=".$MOD[order]."&cols=2&template=null");}
			{loop $tags $i $t}
			<li class="fn-clear">
				<a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank"><img src="{imgurl($t[thumb], 1)}" width="90" height="71px" alt="{$t[title]}" title="{$t[title]}"/></a>
				<div class="img-intro fn-right">
					<h4><a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank">{$t[title]}</a></h4>
					<p>{$t[introduce]}</p>
					<a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank">[详细]</a>
				</div>
			</li>
			{/loop}
		</ul>
	</div>
	<!--推荐图文 end-->
</div>
<!--交通警示 end-->


<!--最新发布 start-->
<div class="layout960 fn-clear">
	<div class="main-head-2cols fn-clear">
		<h2 class="fn-left"><a href="{url('traffic/list', 'catid=28')}" target="_blank">最新发布</a></h2>
		<div class="main-nav fn-left"></div>
	</div>
	<div class="layout-3col fn-left">
		<ul class="ul-img-w135 row fn-clear">
			{php $tags = Template::tag("moduleid=$moduleid&catid=28&condition=status=3 and thumb!='' and level=3&pagesize=2&order=addtime desc&template=null");}
			{loop $tags $i $t}
			<li><a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank"><img src="{imgurl($t[thumb], 1)}" width="135px" height="105px" alt="{$t[title]}" />{$t[title]}</a></li>
			{/loop}
		</ul>
		<ul class="ul-blue bluedot">
			{php $tags = Template::tag("moduleid=$moduleid&catid=28&condition=status=3 and level=1&pagesize=3&order=addtime desc&template=null");}
			{loop $tags $i $t}
			<li><a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank">{$t[title]}</a></li>
			{/loop}
		</ul>
	</div>
	<div class="layout-3col middle-margin fn-left">
		<ul class="ul-blue bluedot">
			{php $tags = Template::tag("moduleid=$moduleid&catid=28&condition=status=3&pagesize=9&order=addtime desc&template=null");}
			{loop $tags $i $t}
			<li><a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank">{$t[title]}</a></li>
			{/loop}
		</ul>
	</div>
	<div class="layout-3col fn-right">
		<div class="blue-border">
			<h2 class="heading-blue">文章点击排行</h2>
			<ul class="ul-gray num">
				{php $tags = Template::tag("moduleid=$moduleid&condition=status=3&pagesize=5&order=hits desc&template=null");}
				{loop $tags $i $t}
				<li {if $i==4}class="last"{/if}><a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank">{$t[title]}</a></li>
				{/loop}
			</ul>
		</div>
	</div>
</div>
<!--最新发布end-->

<!--另类警示start-->
<div class="layout960 fn-clear">
	<div class="main-head-2cols fn-clear">
		<h2 class="fn-left"><a href="{url('traffic/list', 'catid=5')}" target="_blank">另类警示</a></h2>
		<div class="main-nav fn-left"></div>
	</div>
	<div class="layout-3col fn-left">
		<ul class="ul-img-w135 row fn-clear">
			{php $tags = Template::tag("moduleid=$moduleid&catid=5&condition=status=3 and thumb!=''&pagesize=2&order=addtime desc&template=null");}
			{loop $tags $i $t}
			<li><a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank"><img src="{imgurl($t[thumb], 1)}" width="135px" height="105px" alt="{$t[title]}"/>{$t[title]}</a></li>
			{/loop}
		</ul>
		{php $tags = Template::tag("moduleid=$moduleid&catid=5&condition=status=3 and thumb!=''&offset=2&pagesize=1&order=addtime desc&template=null");}
		{loop $tags $i $t}
		<div class="news-crumb">
			<h3><a target="_blank" href="{url('traffic/show', 'itemid='.$t['itemid'])}">{$t[title]}</a></h3>
			<div class="news-crumb-con">
				<img src="{imgurl($t[thumb], 1)}" width="65px" height="44px" />
				<p>{$t[introduce]}</p>
			</div>
		</div>
		{/loop}
	</div>
	<div class="layout-3col middle-margin fn-left">
		<ul class="ul-blue bluedot">
			{php $tags = Template::tag("moduleid=$moduleid&catid=5&condition=status=3&pagesize=9&order=addtime desc&template=null");}
			{loop $tags $i $t}
			<li><a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank">{$t[title]}</a></li>
			{/loop}
		</ul>
	</div>
	<div class="layout-3col fn-right">
		<div class="blue-border fn-clear">
			<div class="content">
				<h2 class="heading-blue">资讯展厅</h2>
				<ul class="ul-img-underline fn-clear">
					{php $tags = Template::tag("moduleid=$moduleid&catid=5&condition=status=3 and thumb!=''&pagesize=1&order=hits desc&template=null");}
					{loop $tags $i $t}
					<li class="fn-clear">
						<a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank"><img src="{imgurl($t[thumb], 1)}" width="90" height="71px"  alt="{$t[title]}"/></a>
						<div class="img-intro fn-right">
							<h4><a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank">{$t[title]}</a></h4>
							<p>{$t[introduce]}</p>
							<a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank">[详细]</a>
						</div>
					</li>
					{/loop}
				</ul>
				<ul class="ul-blue bluedot">
					{php $tags = Template::tag("moduleid=$moduleid&catid=5&condition=status=3 and thumb!=''&offset=1&pagesize=4&order=hits desc&template=null");}
					{loop $tags $i $t}
					<li><a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank">{$t[title]}</a></li>
					{/loop}
				</ul>
			</div>
		</div>
	</div>
</div>
<!--另类警示 end-->

<!--交通法规start-->
<div class="layout960 fn-clear">
	<div class="main-head-2cols fn-clear">
		<h2 class="fn-left"><a href="{url('traffic/list', 'catid=501')}" target="_blank">交通法规</a></h2>
		<div class="main-nav fn-left"></div>
	</div>
	<div class="layout-3col fn-left">
		<ul class="ul-img-w135 row fn-clear">
			{php $tags = Template::tag("moduleid=$moduleid&catid=501&condition=status=3 and thumb!=''&pagesize=2&order=addtime desc&template=null");}
			{loop $tags $i $t}
			<li><a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank"><img src="{imgurl($t[thumb], 1)}" width="135px" height="105px" alt="{$t[title]}" />{$t[title]}</a></li>
			{/loop}
		</ul>
		{php $tags = Template::tag("moduleid=$moduleid&catid=501&condition=status=3 and thumb!=''&offset=2&pagesize=1&order=addtime desc&template=null");}
		{loop $tags $i $t}
		<div class="news-crumb">
			<h3><a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank">{$t[title]}</a></h3>
			<div class="news-crumb-con">
				<img src="{imgurl($t[thumb], 1)}" width="65px" height="44px" />
				<p>{$t[introduce]}</p>
			</div>
		</div>
		{/loop}
	</div>
	<div class="layout-3col middle-margin fn-left">
		<ul class="ul-blue bluedot">
			{php $tags = Template::tag("moduleid=$moduleid&catid=501&condition=status=3&pagesize=10&order=addtime desc&template=null");}
			{loop $tags $i $t}
			<li><a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank">{$t[title]}</a></li>
			{/loop}
		</ul>
	</div>
	<div class="layout-3col fn-right">
		<ul class="ul-blue bluedot">
			{php $tags = Template::tag("moduleid=$moduleid&catid=501&condition=status=3&pagesize=10&order=addtime desc&offset=10&template=null");}
			{loop $tags $i $t}
			<li><a href="{url('traffic/show', 'itemid='.$t['itemid'])}" target="_blank">{$t[title]}</a></li>
			{/loop}
		</ul>
	</div>
</div>
<script>
    seajs.use(['mod-magic'],function(magic){
        var trafficMagic =new magic("#js-traff-img-ronate");
        trafficMagic.magic();
        trafficMagic.indexImg();
    });
</script>
<!--交通法规 end-->
<!--主体部分 end-->
 {template 'footer'}